import Vue from 'vue'
import Router from 'vue-router'


import Hello from '@/components/Hello'
import Hello2 from '@/components/Hello2'
import Sayhi from '@/components/Sayhi'
// import helloword from '@/components/Hello1'


Vue.use(Router)

export default new Router({
    routes:[        
        {
            path:'/',
            name:'Hello',
            component: Hello
        },
        {
            path:'/hello2',
            name:'Hello2',
            component: Hello2
        },
        // {
        //     path:'/hello',
        //     name:'Hello',
        //     component: Hello
        // },        
        {
            path:'/sayhi',
            name:'Sayhi',
            component:Sayhi
        },
        // {
        //     path:'/helloword',
        //     name:'helloword',
        //     component:helloword
        // }
    ]
})
